package com.hilaver.dzmis.exhibition.service;

import com.hilaver.dzmis.exhibition.hibernate.Color;


public class ColorService extends AbstractBaseService {
	
	public String delete(int id) throws Exception {
		return super.delete(Color.class.getName(), id);
	}

	
	public String get(int id) throws Exception {
		return super.get(Color.class.getName(), id);
	}

	
	public String getAllPagination(int page, String sort, String order)
			throws Exception {
		return super.getAllPagination(Color.class.getName(), page, sort, order);
	}
	
	public String getAllPagination(int page, String sort, String order, String[] filters)
			throws Exception {
		return super.getAllPagination(Color.class.getName(), page, sort, order, filters);
	}
	
	public String getAll(String sort, String order) throws Exception{
		return super.getAll(Color.class.getName(), sort, order);
	}
	
	public Color getObj(int id) throws Exception {
		return (Color)super.getObj(Color.class.getName(), id);
	}
}
